package com.demo.abstractFactory.game;

/**
 * Created by Administrator on 2017/6/1.
 */
public class Client {
    public static void main(String[] args) {
        GameFactory factory;
        InterfaceController interfaceController;
        OperationController operationController;
        factory = (GameFactory)XMLUtils.getBean();
        interfaceController = factory.createinterfaceController();
        operationController = factory.createOperationController();
        interfaceController.display();
        operationController.play();
    }
}
